@extends('admin.master')
    
    @section('content')

    <h1>Editar <small>{{ $tagobj->nombre }}</small></h1>

            <!-- if there are creation errors, they will show here -->
            @if($errors->has())
            <div class="alert alert-danger">{{ HTML::ul($errors->all()) }}</div>
            @endif

            {{ Form::model($tagobj, array('route' => array('admin.tagobjs.update', $tagobj->id), 'method' => 'PUT')) }}
            <div class="row">
                <div class="col-lg-10">
                    <div class="form-group">
                        {{ Form::label('nombre', 'Nombre') }}
                        {{ Form::text('nombre', null, array('class' => 'form-control')) }}
                    </div>
                </div>

                <div class="col-lg-2">
                    {{ Form::label('publicar', 'Publicar') }}<br>
                    {{ Form::button('<span class="ladda-label">Editar</span>', ['type' => 'submit', 'class' => 'ladda-button btn btn-primary', 'data-style'=>'zoom-in']) }}
                    {{ HTML::link('admin/tagobjs', 'Cancelar', ['class' => 'btn btn-default']) }}
                </div>
            </div>
            {{ Form::close() }}

    @stop
@section('js-footer')
@parent
{{ HTML::script('assets/admin/js/scripts.js') }}
@stop